package com.example.zuoye.service;

import com.example.zuoye.entity.Book;

import java.util.List;

public interface BookService {
    public Book selectBookInfoByNameAndAuthor(String book_name, String book_author);

    public Book selectBookInfoByName(String book_name);

    public List<Book> selectBookInfo();

    public int insertBookInfo(String book_name,String book_author,String book_press,String book_date,Integer book_number,String book_image);

    public int deleteBookInfoByNameAndAuthor(String book_name, String book_author);

    public int deleteBookInfoById(Integer book_id);

    public int updateBookInfoById(Integer book_id,String book_name,String book_author,String book_press,String book_date,Integer book_number,String book_image);
}
